package api.homework01;

import java.applet.Applet;

public class StringBuilderDemo {
    public static void main(String[] args) {
        StringBuilder builder = new StringBuilder("Hello World");

        builder = builder.append("!!!!!");
        System.out.println(builder);

        builder = builder.delete(13,14);
        System.out.println(builder);

        builder = builder.replace(5,6,"?");
        System.out.println(builder);

        builder = builder.insert(6,"你好");
        System.out.println(builder);


    }
}
